doc: Cleanup doc removing mentions of gdk_surface_shape_combine_region()
authorHubert Figuière <hub@figuiere.net>
Thu, 5 Dec 2019 13:57:19 +0000 (08:57 -0500)
committerHubert Figuière <hub@figuiere.net>
Thu, 5 Dec 2019 16:33:09 +0000 (11:33 -0500)
gdk/gdksurface.c
gtk/gtkwidget.h

index ba22e4f8af69665c59cd7563fac0aae9ee2bd8d0..2cdc15e687b9bc0df7066535bd5e10ff76467abe 100644 (file)
@@ -2438,10 +2438,10 @@ gdk_surface_get_root_coords (GdkSurface *surface,
  * @offset_x: X position of @shape_region in @surface coordinates
  * @offset_y: Y position of @shape_region in @surface coordinates
  *
- * Like gdk_surface_shape_combine_region(), but the shape applies
- * only to event handling. Mouse events which happen while
- * the pointer position corresponds to an unset bit in the
- * mask will be passed on the surface below @surface.
+ * Apply the region to the surface for the purpose of event
+ * handling. Mouse events which happen while the pointer position
+ * corresponds to an unset bit in the mask will be passed on the
+ * surface below @surface.
  *
  * An input shape is typically used with RGBA surfaces.
  * The alpha channel of the surface defines which pixels are
index ff8ac40027fc4beaa4d13c84a69972fb1f5f2d07..dcf15b20e67de4cf19e675d47aca8e9cb01ced9f 100644 (file)
@@ -754,7 +754,7 @@ void             gtk_widget_set_default_direction (GtkTextDirection  dir);
 GDK_AVAILABLE_IN_ALL
 GtkTextDirection gtk_widget_get_default_direction (void);
 
-/* Counterpart to gdk_surface_shape_combine_region.
+/* Counterpart to gdk_surface_input_shape_combine_region.
  */
 GDK_AVAILABLE_IN_ALL
 void         gtk_widget_input_shape_combine_region (GtkWidget *widget,